<%@ page contentType="text/html; charset=utf-8" language="java"
	errorPage=""%>
<%@include file="../include/jspheader.jsp"%>
<head>
<title>WordFrequency列表</title>
<script type="text/javascript"
	src="<s:url value="/js/formValidator3.5.js" includeParams="none"/>"
	charset="UTF-8"></script>
<script src="<s:url value="/js/common.js" includeParams="none"/>"></script>
<script>
	function doSearch(flag) {
		$('#searchform').submit();
		return true;
	}

	function funReset() {
		$("#spelling").val("");
		$("#frequency").val("");
		$("#categoryid").val("");
		$("#status").val("");
	}
</script>
<style type="text/css">
.tb1 th,.tb1 td {
	padding: 2px 5px;
}

.break {
	table-layout: fixed;
	word-wrap: break-word;
	word-break: break-all;
	color: #f00;
}

.online td {
	color: black;
}

.offline td {
	color: blue;
}

.deleted td {
	text-decoration: line-through;
	color: gray;
}
</style>
</head>
<body>

	<s:form id="searchform" name="searchform" method="post"
		namespace="/epowerwordfrequencys" action="listEpowerWordFrequency"
		theme="simple">
		<div id="sa" class="sa2 p10 mb10">
			<table>
			<tr>
				<th width="120">单词ID ：</th>
				<td width="300"><input type="text" class="sa_w_tx"
					id="id" name="query.id"
					value="<s:property value="query.id"/>" /></td>
             </tr>
			<tr>
				<th width="120">类别 ：</th>
				<td width="300"><input type="text" class="sa_w_tx"
					id="categoryid" name="query.categoryid"
					value="<s:property value="query.categoryid"/>" /></td>
             </tr>
             <tr>
				<th width="120">拼写 ：</th>
				<td width="300"><input type="text" class="sa_w_tx"
					id="spelling" name="query.spelling"
					value="<s:property value="query.spelling"/>" /></td>
				</tr>
				<tr>

				<th width="120">词频 ：</th>
				<td width="300"><input type="text" class="sa_w_tx"
					id="frequency" name="query.frequency"
					value="<s:property value="query.frequency"/>" />
				</tr>
				<tr>
				<th width="120">状态 ：</th>
				<td width="300"><input type="text" class="sa_w_tx" id="status"
					name="query.status" value="<s:property value="query.status"/>" />
				</td>
               </tr>
				<tr>
					<th></th>
					<td><input type="button" value="查询" class="btn1"
						onclick="initPageNum(); doSearch('new')" /><input id="btnreset"
						type="button" value="重置" class="btn1" onclick="funReset();" />
					</td>
					<th></th>
					<td><font color="#FF0000">
							<div id="diverror">
								<s:fielderror id="fielderror" />
							</div> </font>
					</td>
				</tr>
			</table>
		</div>
		<div style="text-align: center; color: red;">
			<s:actionmessage />
		</div>
		<div class="mb10 sa2 p10">
			<div id="msg"></div>
		</div>

		<div id="sr" class="b1 mb10">
			<table width="100%">
				<tr>
					<td>
						<ul id="sr_bq">
							<li class="on">
								<div>WordFrequency列表</div></li>
						</ul>
						<table width="100%" border="1" bordercolor="#d0d0d0" class="tb1"
							id="dgbg" bgcolor="#ffffff" style="word-break: break-all">
							<thead>
								<tr>
									<th width="">ID</th>
									<th width="">类别</th>
									<th width="">单词拼写</th>
									<th width="">词频</th>
									<th width="">状态</th>
									<th width="">创建时间</th>
									<th width="">更新时间</th>
							</thead>
							<tbody>
								<s:iterator value="epowerWordFrequencyList">
									<tr>
										<td class="nowrap" width=""><s:property value="id" />
										</td>
										<td class="nowrap" width=""><s:property
												value="categoryid" />
										</td>
										<td class="nowrap" width=""><s:property value="spelling" />
										</td>
										<td class="nowrap" width=""><s:property value="frequency" />
										</td>
										<td class="nowrap" width=""><s:property value="status" />
										</td>
										<td class="nowrap" width=""><s:date name="createtime"
												format="yyyy-MM-dd hh:mm:ss" />
										</td>
										<td class="nowrap" width=""><s:date name="updatetime"
												format="yyyy-MM-dd hh:mm:ss" />
										</td>
									</tr>
								</s:iterator>
							</tbody>
						</table> <%@ include file="../commons/pageNav.jsp"%></td>
				</tr>
			</table>
		</div>
	</s:form>
</body>